
table.o_list_view tbody tr:hover{
    background-color: #BCD9F4;
}

table.o_list_view tbody tr.ks_highlight_row{
    background-color: #38393a !important;
    color:#ffffff !important;
}

.ks_search {
    display: flex;
    border: 1px solid #bfbcbc;
    background: #fff;
    margin: 2px 5px;
    border-radius: 2px;
    height: 27px;
    width: 95%;
    margin: 0;
}
.ks_fix_width {
    width: 100%;
    min-width: unset !important;
    max-width: unset !important;
}
.ks_date_main {
    float: left;
    width: 48%;
}
.ks_date_inner {
    width: 51%;
    float: left;
    display: block;
    padding: 0;
    padding: 0 !important;
}
.ks_inner_search {
    display: flex;
    align-items: center;
    margin: 3px;
    background: #eeeeee;
    padding: 1px 3px;
    border: 1px solid #8c8c8c;
}
.ks_advance_chip {
    margin-right: 8px;
    font-weight: 600;
}
.ks_advance_chip_ellipsis {
    max-width: 100px;
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin-right: 8px;
    font-weight: 600;
}
.custom-control-searchbar-advance,
.custom-control-searchbar-change {
    border:none;
}


.ks_advance_search_row .custom-control-searchbar-advance,
.ks_advance_search_row .custom-control-searchbar-change{
    padding: 0 10px;
}

.ks_advance_search_row .custom-control-searchbar-change{
    > .o_input {
        border: 0;
        padding-top: 5px;
    }
}

.table thead th th {
    border: none;
}

.ks_lvm_o_content .tableFloatingHeaderOriginal tr:first-child,
.ks_lvm_o_content .tableFloatingHeader tr:first-child{
    color: white;
    height: 10px;
}

.tableFloatingHeaderOriginal tr:first-child .custom-control-label:before {
    outline: 1px solid #ffffff;
}

.ks_columns  {
    padding: 10px;
    box-shadow: 0 6px 12px -4px rgba(0, 0, 0, 0.5);
    top: 28px !important;
    transform: unset !important;
    width: 269px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  margin-bottom: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 5px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: $primary;
}

input:focus + .slider {
  box-shadow: 0 0 1px $primary;
}

input:checked + .slider:before {
  transform: translateX(21px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.o_list_buttons {
    display: flex;
    align-items: center;
}

.ks_show {
    display: block !important;
}

.ks_editable {
    max-width: 160px;
    border: 1px solid #c9c9c9;
    padding: 0 6px;
    border-radius: 2px;
}

.ks_lvm_o_content{
    z-index: 100;
}
.ui-corner-all {
    z-index: 1000 !important;
}

.modal-backdrop {
    z-index: 99;
}

.modal.o_onboarding_modal.o_technical_modal.show,
 .modal.o_technical_modal.show {
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
.custom-control.custom-checkbox .custom-control-input:not(:checked):not(:indeterminate) ~ .custom-control-label:before {
    background: #fff;
    outline: 1px solid #4c4c4c;
}

.ks_lvm_o_content > div > .table-responsive > .o_list_view thead tr:nth-child(1) th {
//     position: inherit !important;
    background-color: $primary !important;
}

.mk_apps_sidebar_panel {
    z-index: 10;
}

.ks_lvm_o_main_content {
    z-index: 1;
}

.modal-backdrop {
    z-index: 0;
}

.app-sidebar-panel {
    z-index: 10;
}

.modal-dialog .ks_search,
.modal-dialog .ks_advance_search_row,
.modal-dialog .hide-on-modal{
    display: none;
}

.modal-dialog .tableFloatingHeaderOriginal{
  position: initial !important;
}

.o_field_one2many .ks_search,
.o_field_one2many .ks_advance_search_row,
.o_field_one2many .hide-on-modal{
  display: none;
  text-overflow: ellipsis;
  overflow: hidden;
}

.o_cp_switch_buttons {
    flex-wrap: wrap;
}

.ks_lvm_o_content > .o_list_view .o_external_button {
    display: none !important;
}

@media (max-width: 768px){
    html .o_web_client .ks_lvm_o_content {
        overflow: auto;
        height: 100%;
        -webkit-overflow-scrolling: touch;
    }
}

.ks_date_chip_ellipsis {
    max-width: 50px;
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin-right: 8px;
    font-weight: 600;
}

.ks_switch {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 15px;
  margin-right: 5px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.ks_slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.ks_slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 1px;
  bottom: 1px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .ks_slider {
  background-color: $primary;
}

input:focus + .ks_slider {
  box-shadow: 0 0 1px $primary;
}

input:checked + .ks_slider:before {
  -webkit-transform: translateX(12px);
  -ms-transform: translateX(12px);
  transform: translateX(12px);
}

/* Rounded sliders */
.ks_slider.ks_round {
  border-radius: 34px;
}

.ks_slider.ks_round:before {
  border-radius: 50%;
}

.ui-autocomplete {
    max-height: 50vh;
    overflow: scroll;
}
.o_group_header {
    background-image: linear-gradient(to bottom, #fcfcfc, #dedede);
    height: 30px;
}


.note-toolbar {
    display:flex;
    flex-wrap:wrap;
}
.ks_inner_search > span {
    max-width: 17px;
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-weight: 600;
}


.ks_search .o_input {
    border: none !important;
}
.o_menu_apps .dropdown-menu.show {
    z-index:1000;
}

.ks_search .ks_btn_middle_child {
    padding-top: 2px !important;
}

